<?php $this->pageTitle = 'Receipt Payment'; ?>
<?php Yii::app()->publishAndRegisterScriptFile(Yii::app()->basePath . '/javascripts/app.receipt.update.js'); ?>
<?php
$this->breadcrumbs = array(
	'Receipts' => array('/receipt/index'),
	'#' . $receipt->payment_number => array('/receipt/view', 'id' => $receipt->id),
	'Update'
);
?>
<div class="flat_area">
    <div class="main-title no-border clearfix">
		<h1>Update Receipt</h1>
    </div>
    <div id="ps-receipt-update" class=" relative">
		<?php
		$this->renderPartial('_form', array(
			'agency' => $agency,
			'receipt' => $receipt,
			'invoice_id' => $invoice_id,
			'dataProvider' => $dataProvider
		));
		?>
    </div>
</div>



<?php
echo $this->renderPartial('_addContact', array(
	'contact' => $newContact
));
?>
